﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, GeneratedCode("svcutil", "3.0.4506.2152"), DebuggerStepThrough, DesignerCategory("code"), XmlType(Namespace="http://www.onvif.org/ver10/deviceIO/wsdl")]
    public class SerialPortConfiguration
    {
        private XmlAttribute[] anyAttrField;
        private XmlElement[] anyField;
        private int baudRateField;
        private int characterLengthField;
        private TestTool.Proxies.Onvif.ParityBit parityBitField;
        private float stopBitField;
        private string tokenField;
        private SerialPortType typeField;

        [XmlAnyElement(Order=4)]
        public XmlElement[] Any
        {
            get
            {
                return this.anyField;
            }
            set
            {
                this.anyField = value;
            }
        }

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=0)]
        public int BaudRate
        {
            get
            {
                return this.baudRateField;
            }
            set
            {
                this.baudRateField = value;
            }
        }

        [XmlElement(Order=2)]
        public int CharacterLength
        {
            get
            {
                return this.characterLengthField;
            }
            set
            {
                this.characterLengthField = value;
            }
        }

        [XmlElement(Order=1)]
        public TestTool.Proxies.Onvif.ParityBit ParityBit
        {
            get
            {
                return this.parityBitField;
            }
            set
            {
                this.parityBitField = value;
            }
        }

        [XmlElement(Order=3)]
        public float StopBit
        {
            get
            {
                return this.stopBitField;
            }
            set
            {
                this.stopBitField = value;
            }
        }

        [XmlAttribute]
        public string token
        {
            get
            {
                return this.tokenField;
            }
            set
            {
                this.tokenField = value;
            }
        }

        [XmlAttribute]
        public SerialPortType type
        {
            get
            {
                return this.typeField;
            }
            set
            {
                this.typeField = value;
            }
        }
    }
}

